// Decompiled by GOOSIN CO,LTD Copyright 2010 Pavel Kouznetsov.
// home page: http://www.Goosin.net
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   printPdfString.java

package include.nseer_cookie;


public class printPdfString
{

	public printPdfString()
	{
	}

	public String printString_four(String print_string, String name1, String customer_name, String name2, String customer_ID)
	{
		String string_length = "";
		try
		{
			byte byteStr[] = print_string.getBytes();
			if (byteStr.length <= 4)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                                                                       ").append(name2).append(customer_ID).toString();
			else
			if (byteStr.length > 4 && byteStr.length <= 6)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                                                                   ").append(name2).append(customer_ID).toString();
			else
			if (byteStr.length > 6 && byteStr.length <= 8)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                                                                 ").append(name2).append(customer_ID).toString();
			else
			if (byteStr.length > 14 && byteStr.length <= 16)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                                         ").append(name2).append(customer_ID).toString();
			else
			if (byteStr.length > 10 && byteStr.length <= 14)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                                               ").append(name2).append(customer_ID).toString();
			else
			if (byteStr.length > 8 && byteStr.length <= 10)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                                                           ").append(name2).append(customer_ID).toString();
			else
			if (byteStr.length > 16 && byteStr.length <= 18)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                                 ").append(name2).append(customer_ID).toString();
			else
			if (byteStr.length > 18 && byteStr.length <= 20)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                             ").append(name2).append(customer_ID).toString();
			else
			if (byteStr.length > 20 && byteStr.length <= 22)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                         ").append(name2).append(customer_ID).toString();
			else
			if (byteStr.length > 22 && byteStr.length <= 24)
				string_length = (new StringBuilder(String.valueOf(name1))).append(customer_name).append("                     ").append(name2).append(customer_ID).toString();
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}
		return string_length;
	}

	public String printString_three(String print_string, String name1, String sales_name, String name2, String sales_ID)
	{
		String string_length = "";
		try
		{
			byte byteStr1[] = print_string.getBytes();
			if (byteStr1.length <= 4)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("\t                                                                             ").append(name2).append(sales_ID).toString();
			else
			if (byteStr1.length > 4 && byteStr1.length <= 6)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("                                                                 ").append(name2).append(sales_ID).toString();
			else
			if (byteStr1.length > 6 && byteStr1.length <= 8)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("                                                               ").append(name2).append(sales_ID).toString();
			else
			if (byteStr1.length > 14 && byteStr1.length <= 16)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("                                       ").append(name2).append(sales_ID).toString();
			else
			if (byteStr1.length > 10 && byteStr1.length <= 14)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("                                             ").append(name2).append(sales_ID).toString();
			else
			if (byteStr1.length > 8 && byteStr1.length <= 10)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("                                                         ").append(name2).append(sales_ID).toString();
			else
			if (byteStr1.length > 16 && byteStr1.length <= 18)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("                               ").append(name2).append(sales_ID).toString();
			else
			if (byteStr1.length > 18 && byteStr1.length <= 20)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("                           ").append(name2).append(sales_ID).toString();
			else
			if (byteStr1.length > 20 && byteStr1.length <= 22)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("                       ").append(name2).append(sales_ID).toString();
			else
			if (byteStr1.length > 22 && byteStr1.length <= 24)
				string_length = (new StringBuilder(String.valueOf(name1))).append(sales_name).append("                   ").append(name2).append(sales_ID).toString();
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}
		return string_length;
	}
}
